page number:
{{paginator}}
{% if paginator.has_previous %}
<a href="../p{{paginator.previous}}/">{{paginator.previous}}</a>
{% endif %} {{page}} 
{% if paginator.has_next %}
<a href="../p{{paginator.next}}/">{{paginator.next}}</a>
{% endif %} | of {{paginator.num_pages}}
<br>
{% for p in paginator.page_range %}
<a href="../p{{p}}/">{{p}}</a> 
{% endfor %}
